import React from "react";
type bv = (props: { temperature: string }) => React.ReactElement

const BoilingVerdict: bv = ({ temperature }) => {
    let tem2: number = parseInt(temperature)
    if (tem2 >= 100) {
        return (
            <h1>水烧开了</h1>
        )
    } else {
        return <h1>水未开</h1>
    }
}

export default BoilingVerdict